package com.ljf.authority.enums;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.enums.BasicEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 菜单列表定义  authority_base_menu_tabulation  层级  level  枚举
 *
 * @author LJF
 * @since 2024-10-17
 */
@Getter
@AllArgsConstructor
public enum AuthorityBaseMenuTabulationLevelEnum implements BasicEnum {

    MAIN_MENU(1, "主菜单"),
    MENU_CLASSIFICATION(2, "菜单分类"),
    MENU_PAGE(3, "页面"),
    BUTTON(4, "按钮");

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private final Integer code;

    @JsonProperty("name")
    @ApiModelProperty(value = "描述")
    private final String name;

}
